/*
Copyright (C) 2022-2024 Inspur Corp.

SPDX-License-Identifier: Apache-2.0
*/
package model

type BlockInfo struct {
	BlockNum  uint64 `json:"BlockNum"`
	BlockHash string `json:"blockHash"`
	PreHash   string `json:"preHash"`
}

type TransactionInfo struct {
	TxId      string `json:"txId"`
	TxTime    string `json:"txTime"`
	TxContent string `json:"txContent"`
}

type WriteModel struct {
	Key      string `json:"key"`
	Value    string `json:"value"`
	IsDelete bool   `json:"isDelete"`
}
